export default {
  config: [
    {
      name: '最大缩放等级（8-20）',
      code: 'maxZoom',
      value: 9,
      type: 'InputNumber',
      min: 8,
      max: 20,
      tip: '数值越小，热力展示越明显',
    },
    {
      name: '热力半径（1-100）',
      code: 'radius',
      value: 16,
      type: 'InputNumber',
      min: 1,
      max: 100,
      tip: '数值越小，半径越小',
    },
    {
      name: '虚化度（1-100）',
      code: 'blur',
      value: 20,
      type: 'InputNumber',
      min: 1,
      max: 100,
      tip: '数值越大，热力展示越模糊',
    },
    {
      name: '填充颜色（0-100）',
      code: 'colors',
      type: 'RangeColors',
      min: 1,
      max: 100,
      rangeKey: '半径',
      tip: '数值越小，越接近热力边缘',
      value: [
        {
          id: 1000,
          start: 0,
          end: 20,
          color: '#206C7C',
        },
        {
          id: 999,
          start: 20,
          end: 40,
          color: '#2EA9A1',
        },
        {
          id: 998,
          start: 40,
          end: 60,
          color: '#91EABC',
        },
        {
          id: 997,
          start: 60,
          end: 80,
          color: '#F7B74A',
        },
        {
          id: 996,
          start: 80,
          end: 100,
          color: '#FF3417',
        },
      ],
      template: {
        start: 10,
        end: 100,
        color: '#206C7C',
      },
    },
  ],
  data: {
    field: [
      { name: 'lng', mapper: 'lng' },
      { name: 'lat', mapper: 'lat' },
      { name: 'intensity', mapper: 'count' },
    ],
    type: 1,
    value: JSON.stringify([
      { lat: 30.395141, lng: 104.180187, count: 87 },
      { lat: 30.314268, lng: 104.033458, count: 58 },
      { lat: 30.517994, lng: 104.050051, count: 51 },
      { lat: 30.512607, lng: 104.057512, count: 12 },
      { lat: 30.509955, lng: 104.07636, count: 36 },
      { lat: 30.308593, lng: 104.033371, count: 71 },
      { lat: 30.698055, lng: 103.81029, count: 29 },
      { lat: 30.698055, lng: 103.81029, count: 29 },
      { lat: 30.443159, lng: 104.052512, count: 12 },
      { lat: 30.514083, lng: 104.066373, count: 73 },
      { lat: 30.516678, lng: 104.059902, count: 2 },
      { lat: 30.512241, lng: 104.069421, count: 21 },
      { lat: 30.513178, lng: 104.059847, count: 47 },
      { lat: 30.755745, lng: 103.783377, count: 77 },

      { lat: 33.395141, lng: 101.180187, count: 80 },
      { lat: 33.314268, lng: 100.033458, count: 33 },
      { lat: 35.517994, lng: 100.050051, count: 50 },
      { lat: 35.512607, lng: 100.057512, count: 57 },
      { lat: 35.509955, lng: 100.07636, count: 76 },
      { lat: 33.308593, lng: 100.033371, count: 33 },
      { lat: 36.698055, lng: 108.81029, count: 10 },
      { lat: 36.698055, lng: 108.81029, count: 10 },
      { lat: 34.443159, lng: 100.052512, count: 52 },
      { lat: 35.514083, lng: 100.066373, count: 66 },
      { lat: 35.516678, lng: 100.059902, count: 59 },
      { lat: 35.512241, lng: 100.069421, count: 69 },
      { lat: 35.513178, lng: 100.059847, count: 59 },
      { lat: 37.755745, lng: 107.783377, count: 83 },

      { lat: 39.395141, lng: 108.180187, count: 41 },
      { lat: 31.314268, lng: 103.033458, count: 68 },
      { lat: 31.517994, lng: 105.050051, count: 94 },
      { lat: 31.512607, lng: 105.057512, count: 7 },
      { lat: 30.509955, lng: 107.07636, count: 55 },
      { lat: 30.308593, lng: 103.033371, count: 93 },
      { lat: 39.698055, lng: 101.81029, count: 55 },
      { lat: 39.698055, lng: 101.81029, count: 55 },
      { lat: 34.443159, lng: 105.052512, count: 59 },
      { lat: 31.514083, lng: 106.066373, count: 83 },
      { lat: 31.516678, lng: 105.059902, count: 78 },
      { lat: 31.512241, lng: 106.069421, count: 41 },
      { lat: 31.513178, lng: 105.059847, count: 78 },
      { lat: 35.755745, lng: 108.783377, count: 45 },
    ]),
  },
  height: 0,
  width: 0,
  series: [],
  seriesDefault: [],
  name: '热力层',
  coordinate: {
    y: 0,
    x: 0,
  },
  version: '1.0.0',
  code: 'custom_map_group_heatmap',
};
